#ifndef CUBO_H
#define CUBO_H

#include "Object3D.h"
#include <QGLShaderProgram>
#include  <mainwindow.h>

class Cubo : public Object3D
{
    Q_OBJECT

    QGLShaderProgram program;

public:
    explicit Cubo(MainWindow *mainWindow, const QVector3D& center = QVector3D(),
                    QObject *parent = 0);
   // void RecebeMainWindow(MainWindow *mainWindow);


private:
    virtual void drawGeometry(void);

public slots:
    void RecebeCor(int);
    void FiguraSelecionada(bool,bool);
    void ShaderLigado(bool);
};

#endif // CUBO_H
